<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<%@include file="../../inc/common.inc"%>
<%@include file="../../inc/highlight.inc"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="${ contextPath }/fckeditor/data/ckeditor.js"></script>
<script type="text/javascript" src="${ contextPath }/fckeditor/data/adapters/jquery.js"></script>
<script src="${ contextPath }/me/blog/addBlog.js" type="text/javascript"></script>
<title>添加BLOG</title>
</head>

<body>

		<div id="container_father">
			<div id="container_left">
				&nbsp;
			</div>
			<div id="container">

				<div id="top">
				</div>
				<div class="clear"></div>
				<div id="navigation">
					<%@include file="../common/headMenu.jsp"%>
				</div>

				<div id="sidebar">
					<%@include file="../common/sidebar.jsp"%>
				</div>

				<div id="content">
					<div class="content_block">
						<div class="content_title">
							日志
						</div>
						<div class="clear"></div>
						<div class="content_content">
							<form action="${contextPath}/me/save.action" method="post"
								id="artForm">
								<input type="hidden" id="art_content" name="art.content"
									value="" />
								<div class="content_row">
									<div class="title">
										博客来源
									</div>
									<div class="data">
										<label for="mechoice.new">
											原创
										</label>
										<input id="mechoice.new" type="radio" name="art.source"
											value="1" checked="checked" />
										&nbsp;
										<label for="mechoice.trans">
											翻译
										</label>
										<input id="mechoice.trans" type="radio" name="art.source"
											value="2" />
										&nbsp;
										<label for="mechoice.other">
											转载
										</label>
										<input id="mechoice.other" type="radio" name="art.source"
											value="3" />
										&nbsp;
									</div>
									<div></div>
								</div>
								<div class="content_row">
									<div class="title">
										博客类型
									</div>
									<div class="data">
										<select name="art.type.id">
											<c:forEach var="type_" items="${ allType }">
												<option value="${ type_.id }">
													${ type_.name }
												</option>
											</c:forEach>
										</select>
										&nbsp;
									</div>
									<div class="tip"></div>
								</div>
								<div class="content_row">
									<div class="title">
										博客标题
									</div>
									<div class="data">
										<input type="text" id="artTitle" name="art.title" value="" />
										&nbsp;
									</div>
									<div class="tip" passed="false"></div>
								</div>
								<div class="content_row">
									<div class="title">
										博客内容
									</div>
									<div id="artContent">
										插入图片
									</div>
								</div>
								<div class="clear"></div>
								<div class="div4ck">
									<textarea cols="80" id="editor_kama" name="editor_kama"
										rows="10">
						</textarea>
								</div>
								<div>
									<input type="button" value="提交" id="choose" />
									<input type="button" value="取消" id="cancel" />
								</div>
							</form>
						</div>
						<div class="clear"></div>

					</div>

				</div>
				<div class="clear"></div>
				<div id="footer">
					<%@include file="../common/foot.jsp"%>
				</div>

			</div>

			<div id="container_right">
				&nbsp;
			</div>
		</div>
	</body>


</html>

